package com.cn.delan.web.mvc.admin;

public class AdminConst {
	//默认值区域
	
	//应用区域
	//压缩服务保存值
	public static final String CONTEXT_ATTR_ZIPSERVICE = "zipService";
	//解压服务保存值
	public static final String CONTEXT_ATTR_UNZIPSERVICE = "unzipService";
	
	//会话区域
	
	//请求区域
	//消息标题
	public static final String REQUEST_ATTR_TITLE = "title";
	//消息
	public static final String REQUEST_ATTR_MESSAGE = "message";
	//根磁盘
	public static final String REQUEST_ATTR_ROOTS = "roots";
	//文件列表
	public static final String REQUEST_ATTR_FILES = "files";
	//用户列表
	public static final String REQUEST_ATTR_USERS = "users";
	//路径面包屑
	public static final String REQUEST_ATTR_PARENTS = "parents";
	//打包百分比
	public static final String REQUEST_ATTR_PERCENT = "percent";
	//ajax轮讯打包路径
	public static final String REQUEST_ATTR_PATH = "path";
	//文件
	public static final String REQUEST_ATTR_FILE = "file";
	//目录
	public static final String REQUEST_ATTR_FOLDER = "folder";
	//显示
	public static final String REQUEST_ATTR_SHOW = "show";
	//隐藏
	public static final String REQUEST_ATTR_HIDDEN = "hidden";
	//文件名
	public static final String REQUEST_ATTR_FILENAME = "filename";
	//编辑用户
	public static final String REQUEST_ATTR_EDITOBJECT = "editObject";
	
	//用户名
	public static final String REQUEST_PARA_USERNAME = "username";
	//密码
	public static final String REQUEST_PARA_PASSWORD = "password";
	//资源管理器路径
	public static final String REQUEST_PARA_PATH = "path";
	//重命名的文件名
	public static final String REQUEST_PARA_NEWNAME = "newname";
	//文件名
	public static final String REQUEST_PARA_FILENAME = "filename";
	
	//消息区域
	//登录失败
	public static final String MESSAGE_LOGINFAIL = "admin.loginFail";
	//验证失败
	public static final String MESSAGE_VALIDFAIL = "admin.validFail";
	//上传
	public static final String MESSAGE_UPLOAD = "admin.upload";
	//改名成功
	public static final String MESSAGE_CHANGENAME_SUCCESS = "admin.changeName.success";
	//改名失败
	public static final String MESSAGE_CHANGENAME_FAIL = "admin.changeName.fail";
	//用户已存在
	public static final String MESSAGE_USER_EXISTS = "admin.user.exists";
	//用户不存在
	public static final String MESSAGE_USER_NOTEXISTS = "admin.user.notexists";
	//新增成功
	public static final String MESSAGE_USER_ADDSUCCESS = "admin.user.addSuccess";
	//新增失败
	public static final String MESSAGE_USER_ADDFAIL = "admin.user.addFail";
	//编辑成功
	public static final String MESSAGE_USER_EDITSUCCESS = "admin.user.editSuccess";
	//编辑失败
	public static final String MESSAGE_USER_EDITFAIL = "admin.user.editFail";
	//删除成功
	public static final String MESSAGE_USER_DELSUCCESS = "admin.user.delSuccess";
	//删除失败
	public static final String MESSAGE_USER_DELFAIL = "admin.user.delFail";
	//上传完成
	public static final String MESSAGE_UPLOAD_SUCCESS = "admin.upload.success";
	//当前目录没有写入权限
	public static final String MESSAGE_UPLOAD_NOWRITE = "admin.upload.nowrite";
	//上传目录不存在
	public static final String MESSAGE_UPLOAD_NOTEXISTS = "admin.upload.notexists";
	//文件不存在
	public static final String MESSAGE_FILE_NOTEXISTS = "admin.file.notexists";
	//文件已存在，请将其改名或删除
	public static final String MESSAGE_FILE_EXISTS = "admin.file.exists";
}
